//
//  MYGFindDetailModel.swift
//  MYGrow
//
//  Created by 小火科技 on 2024/3/19.
//

import HandyJSON

class MYGFindDetailModel: HandyJSON {
    var post: MYGFindListModel = MYGFindListModel()
    var comment: MYGPageModel<MYGFindDetailComment> = MYGPageModel<MYGFindDetailComment> ()
    
    required init() {
    }
}

class MYGFindDetailComment: HandyJSON {
    var id = 0
    var parent_id = 0
    var post_id = 0
    var user_id = 0
    var doctor_id = 0
    var content = ""
    var likes = 0
    var status = 0
    var created_at = ""
    var updated_at = ""
    var doctor: MYGFindDoctor = MYGFindDoctor()
    var reply: [MYGFindDetailComment] = []
    var is_like = 0
    var author_is_like = 0
    
    var isSecond: Bool = true
//    func mapping(mapper: HelpingMapper) {
//        mapper <<< self.doctor <-- ["patient", "doctor"]
//    }
    
    required init() {
    }
}
